
<section class="box clearfix productTeaserBox">
         <div class="breadcrumb"> <a  href="#"> Trang chủ </a> > <a href="#"> <?php echo $detailproduct->title;?> </a></div>
         </section>
        <section class="box clearfix productTeaserBox">
          <div id="gallery1" style="display:none;"> <a href="#" class="show"><img rel=" " title="" alt="slider1" src="<?php echo base_url().'public/font-end/';?>images/nuoc_1.jpg"></a> <a href="#"  class=""><img rel=" " title="" alt="slider1" src="<?php echo base_url().'public/font-end/';?>images/23.png"></a> <a href="#"  class=""><img rel=" " title="" alt="slider1" src="images/nuoc_1.jpg"></a> <a href="#"  class=""><img rel=" " title="" alt="slider1" src="images/23.png"></a> </div>
        </section>
        <!------------end.right2---------->
        <section class="box clearfix productTeaserBox">
          <div class="product-detail">
            <div class="imamedia"> 
              <script type="text/javascript" src="<?php echo base_url().'public/font-end/'; ?>js/jquery.min.js"></script>
              <link href="<?php echo base_url().'public/font-end/'; ?>css/cloud-zoom.css" rel="stylesheet" type="text/css" />
              <script type="text/javascript" src="<?php echo base_url().'public/font-end/'; ?>js/cloud-zoom.1.0.2.js"></script>
              <div class="zoom-section">
                <div class="zoom-small-image">
                <a href='<?php echo $detailproduct->img1; ?>' class = 'cloud-zoom' id='zoom1' rel="adjustX: 10, adjustY:-2">
                <img src="<?php echo $detailproduct->img1; ?>" alt='' title="" /></a>
                </div>
                <div class="zoom-desc">
                    <ul class="ul_image">
                        <?php if (isset($detailproduct->img1) && $detailproduct->img1 != "") { ?>
                            <li>
                                <a href='<?php echo $detailproduct->img1; ?>' class='cloud-zoom-gallery' title='Red'
                                   rel="useZoom: 'zoom1', smallImage: '<?php echo $detailproduct->img1; ?>' ">
                                    <img class="zoom-tiny-image" src="<?php echo $detailproduct->img1; ?>"
                                         alt="Thumbnail 1" width="90"/>
                                </a>
                            </li>
                        <?php } ?>
                        <?php if (isset($detailproduct->img2) && $detailproduct->img2 != "") { ?>
                            <li>
                                <a href='<?php echo $detailproduct->img2; ?>' class='cloud-zoom-gallery' title='Red'
                                   rel="useZoom: 'zoom1', smallImage: '<?php echo $detailproduct->img2; ?>' ">
                                    <img class="zoom-tiny-image" src="<?php echo $detailproduct->img2; ?>"
                                         alt="Thumbnail 1" width="90"/>
                                </a>
                            </li>
                        <?php } ?>
                        <?php if (isset($detailproduct->img2) && $detailproduct->img2 != "") { ?>
                            <li>
                                <a href='<?php echo $detailproduct->img3; ?>' class='cloud-zoom-gallery' title='Red'
                                   rel="useZoom: 'zoom1', smallImage: '<?php echo $detailproduct->img3; ?>' ">
                                    <img class="zoom-tiny-image" src="<?php echo $detailproduct->img3; ?>"
                                         alt="Thumbnail 1" width="90"/>
                                </a>
                            </li>
                        <?php } ?>
                    </ul>
                </div>
              </div>
            </div>
            <div class="product-comment">
              <h1 ><?php echo $detailproduct->title;?></h1>
              <div class="product-short-description">
                <?php echo $detailproduct->description1;?>
              </div>
              <div class="spacer-buy-area">
                <div class="manufacturer">
                
                 <p>Nhà sản xuất:  <a class="modal" href="<?php echo base_url(). mb_strtolower(url_title($detailproduct->origin_name)).'-h-'.$detailproduct->origin_id;?>"><?php echo $detailproduct->origin_name; ?></a> </p></div>
                <p>Tình trạng hàng:  <?php if($detailproduct->rate != ""){ 
                    if($detailproduct->rate == "1"){
                      echo "Còn hàng";
                    }elseif($detailproduct->rate == "2") {
                        echo "Hết hàng";
                    }elseif ($detailproduct->rate == "3") {
                        echo "Sắp có hàng";
                    }else {
                        echo "Còn hàng";
                    } 
                    
                }else { echo "Còn hàng"; } ?></p>
                
                <?php if(isset($detailproduct->priceny) && $detailproduct->priceny){ ?>
                <div class="product-priceny">
                  <p>Giá niêm yết: <span class="PricesalesPriceny"><?php echo number_format($detailproduct->priceny);?> VNĐ</span></p>
                </div>
                <?php } ?>
                
                <div class="product-price">
                  <div>Giá bán: <span class="PricesalesPrice"><?php echo number_format($detailproduct->price);?> VNĐ</span></div>
                </div>
                <div class="ns2-addtocart">
                
           		<a class="shopping-cart" href="<?php echo base_url(). mb_strtolower(url_title(removesign( $detailproduct->title))).'-dh-'.$detailproduct->p_id;?>"> Đặt hàng </a>
           			<div id="goolge">
					 <link rel="canonical" href="http://maylocnuocsmartviet.com/" />

						 <g:plusone></g:plusone>

							<script type="text/javascript">
							window.___gcfg = {
								lang: 'en-US'
							  };

							  (function() {
							var po = document.createElement('script'); po.type = 'text/javascript'; po.async = true;
								po.src = 'https://apis.google.com/js/plusone.js';
								var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(po, s);
							  })();
							</script>
					</div>
           			<div id="like">
	           			<div id="fb-root"></div>
						<script>(function(d, s, id) {
						  var js, fjs = d.getElementsByTagName(s)[0];
						  if (d.getElementById(id)) return;
						  js = d.createElement(s); js.id = id;
						  js.src = "//connect.facebook.net/vi_VN/all.js#xfbml=1";
						  fjs.parentNode.insertBefore(js, fjs);
						}(document, 'script', 'facebook-jssdk'));</script>
						<div class="fb-like" data-href="http://maylocnuocsmartviet.com/" data-layout="button_count" data-action="like" data-show-faces="true" data-share="true"></div>
           			</div>
           		
                </div>
              </div>
            </div>
            <div class="product-detail-main">
              <h3 class="h3-detail">Thông tin chi tiết</h3>
              <div class="content-detail-product">
               	<?php echo $detailproduct->description2;?>
              </div>
            </div>
          </div>
        </section>
        
<script src="http://connect.facebook.net/en_US/all.js#xfbml=1"></script>
<div id="comment">
        <div id="fb-root"></div>
        <fb:comments href="<?php echo base_url(). mb_strtolower(url_title(removesign( $detailproduct->title))).'.html';?>" num-posts="2" width="710"></fb:comments>
</div>